<?php
$dbhost = "localhost";
$dbuser = "root";
$dbpass = "";//buch1234
$dbname = "school_swim";

if(!($conn = mysql_connect($dbhost,$dbuser,$dbpass))){
  die("Connect't establish connection to Mysql,databasel ");
}
if(!mysql_select_db($dbname)){
     die("Couldn'tconnect to database $dbname ! ");
}
 mysql_query("SET NAMES UTF8");
?>